package org.celstec.mobilegame.gamaray;

public class Asset {
	public String format;
	public String url;
	String id;

	public Asset(String format, String url, String id) {
		this.format = format;
		this.url = url;
		this.id = id;
	}

	public String toXml() {
		String ret = "  <asset id=\""+id+"\">\n";
//		ret += "   <id>" + id + "</id>\n";
		ret += "   <format>" + format + "</format>\n";
		ret += "   <url>" + url + "</url>\n";
		ret += "  </asset>\n";
		return ret;
	}

}
